package com.ym.mapper;

import com.ym.domain.Device;

import java.util.List;


public interface DeviceMapper {
    Device findById(Long deviceId);

    void add(Device device);

    List<Device> getDeviceList(Long id,Long floorId);

    List<Device> getDeviceListByType(Long type);
}
